package org.metasketch.simulator.runtime;

import java.util.LinkedList;
import java.util.Queue;

public class WaitingLine {

	Queue<SimulationProcess> queue = new LinkedList<SimulationProcess>();

	public void addProcess(SimulationProcess process) {
		queue.add(process);
	}

	public SimulationProcess getNextProcess() {
		return queue.remove();
	}

}
